package com.leyou.search.repository;

import com.leyou.search.demo.Item;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * @author wgc
 * @create 2019-07-26 22:45
 */
public interface ItemRepository extends ElasticsearchRepository<Item,Long> {
    List<Item> findByPriceBetween(Double begin, Double end);
}
